<div class="module-setting">
    <ol class="breadcrumb fn-clearfix">
        <li>风控规则</li>
    </ol>
    <!--<div class="module-param">-->
        <!--<div class="ui-box">-->
            <!--<div class="form-container">-->
                <!--<div class="body-title">提币每日限额</div>-->
                <!--<p>说明：</p>-->
                <!--<p>1、设置为"-1"，表示禁止转出</p>-->
                <!--<p>2、设置为"0"，表示转出数量无限制</p>-->
                <!--<p>3、设置为正整数，表示限制该币种的数量</p>-->
                <!--<table class="ui-table table table-bordered">-->
                    <!--<tr class="tr">-->
                        <!--<th width="10%"></th>-->
                        <!--<th width="30%">level0</th>-->
                        <!--<th width="30%">level1</th>-->
                        <!--<th width="30%">level2</th>-->
                    <!--</tr>-->
                    <!--<tr class="tr" ng-repeat="assets in $root.$coinList">-->
                        <!--<td class="td-title">{{assets.value}}</td>-->
                        <!--<td class="td"  ng-repeat="item in vm.levels" >-->
                            <!--<div ng-if="vm['limitList_level'+item][assets.value].isEdit===false">-->
                                 <!--<span class="text" ng-if="vm['limitList_level'+item][assets.value].limit==='0'">不限制</span>-->
                                 <!--<span class="text" ng-if="vm['limitList_level'+item][assets.value].limit==='-1' || vm['limitList_level'+item][assets.value].limit===null">禁止转出</span>-->
                                 <!--<span class="text" ng-if="+vm['limitList_level'+item][assets.value].limit>0">{{vm['limitList_level'+item][assets.value].limit}}</span>-->
                                 <!--<span class="text&#45;&#45;edit glyphicon glyphicon-edit" ng-click="vm['limitList_level'+item][assets.value].isEdit=true"></span>-->
                            <!--</div>-->
                            <!--<span  ng-if="vm['limitList_level'+item][assets.value].isEdit===true">-->
                                <!--<input type="number"-->
                                       <!--ng-model="vm['limitList_level'+item][assets.value].update"-->
                                       <!--class="form-control">-->
                                <!--<a href="javascript:;" class="link" ng-click="vm['limitList_level'+item][assets.value].update=-1">禁止转出</a>-->
                                <!--<a href="javascript:;" class="link" ng-click="vm['limitList_level'+item][assets.value].update=0">不限制</a>-->
                                <!--<a href="javascript:;" class="link"-->
                                   <!--ng-click="vm.updateLimitByLevel(assets.value,vm['limitList_level'+item][assets.value].update,item)"-->
                                    <!--style="color: red">-->
                                    <!--更新</a>-->
                                <!--<a href="javascript:;" class="link"-->
                                   <!--ng-click="vm['limitList_level'+item][assets.value].isEdit=false"-->
                                    <!--style="color: #2435c7">取消</a>-->
                            <!--</span>-->
                        <!--</td>-->
                    <!--</tr>-->
                <!--</table>-->
            <!--</div>-->
            <!--</div>-->
        <!--</div>-->

        <div class="ui-box">
            <div class="body-title">登录IP记录</div>
            <!--<form class="form-inline ui-form" role="form">-->
                <!--<div class="form-group ui-input-select">-->
                    <!--<input type="text"-->
                           <!--class="form-control"-->
                           <!--ng-model="vm.condition.uid"-->
                           <!--placeholder="输入IP">-->
                    <!--<button type="submit" class="btn btn-primary" ng-click="vm.fetchUidList()">搜索</button>-->
                <!--</div>-->
            <!--</form>-->

            <table class="table table-striped table-hover">
                <thead>
                <tr>
                    <th width="30%">时间</th>
                    <th width="20%">UID</th>
                    <th width="50%">IP</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="item in vm.list" ng-if="vm.isLoading === false && vm.list.length > 0">
                    <td>{{$root.moment(item.createDate).utc().utcOffset($root.ZONE).format('YYYY-MM-DD HH:mm:ss')}}</td>
                    <td>{{item.uid}}</td>
                    <td>{{item.ipAddress}}</td>
                </tr>
                <tr class="ui-no-data" ng-if="vm.isLoading === false && (vm.list.length === 0||vm.list===null)">
                    <td colspan="3">暂无数据</td>
                </tr>
                <tr class="ui-loading" ng-if="vm.isLoading === true">
                    <td colspan="3">正在加载，请稍候...</td>
                </tr>
                </tbody>
            </table>

            <div class="ui-pager-box" v-if="vm.totalNum > 0">
                <ul uib-pagination
                    previous-text="上一页"
                    next-text="下一页"
                    first-text="首页"
                    last-text="尾页"
                    total-items="vm.totalNum"
                    ng-model="vm.condition.pageNo"
                    max-size="5"
                    items-per-page="vm.condition.pageSize || 10"
                    align="right"
                    class="pagination"
                    boundary-links="true"
                    ng-change="vm.pageChanged()"
                    rotate="false"></ul>
            </div>

        </div>



    </div>
</div>
